package com.quanyan.club.entity.vo.req.admin;

import com.quanyan.common.constants.Constants;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Hugo.Wwg
 * @Since 2016-08-22
 */
public class ReqActivityOrderQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    private Date createStartTime;

    private Date createEndTime;

    private String orderNo;

    private Integer orderType;

    private Integer activityId;

    private String activityName;

    private String clubName;

    private String mobile;

    private Integer  clubId;

    private Integer orderStatus;

    private Integer isSettle;

    private Integer pageNum = 1;  //当前页

    private Integer pageSize = Constants.DEFAULT_PAGE_SIZE; //每页条数

    private Integer queryOrderStatus; //查询订单状态: 1待付款 2已付款 3退款中 4已退款 5待结算 6已结算 7已取消

    private Integer offset;  //当前条数

    public Date getCreateStartTime() {
        return createStartTime;
    }

    public void setCreateStartTime(Date createStartTime) {
        this.createStartTime = createStartTime;
    }

    public Date getCreateEndTime() {
        return createEndTime;
    }

    public void setCreateEndTime(Date createEndTime) {
        this.createEndTime = createEndTime;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getClubName() {
        return clubName;
    }

    public void setClubName(String clubName) {
        this.clubName = clubName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getClubId() {
        return clubId;
    }

    public void setClubId(Integer clubId) {
        this.clubId = clubId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getIsSettle() {
        return isSettle;
    }

    public void setIsSettle(Integer isSettle) {
        this.isSettle = isSettle;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getQueryOrderStatus() {
        return queryOrderStatus;
    }

    public void setQueryOrderStatus(Integer queryOrderStatus) {
        this.queryOrderStatus = queryOrderStatus;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        if (pageNum == null || pageNum <= 0) {
            this.pageNum = 1;
        }else {
            this.pageNum = pageNum;
        }
    }
}

